/* ===== Nền toàn trang ===== */
body {
    background: url('ChatGPT Image 01_23_56 16 thg 10, 2025.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
}

/* ===== Icon Lửa ===== */
#chat-icon {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    font-size: 42px;
    color: #ff5e00;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    filter: drop-shadow(0 0 8px #ff6f00);
}

    #chat-icon:hover {
        color: #ffa733;
        text-shadow: 0 0 25px #ff6f00, 0 0 45px #ff4500;
        transform: scale(1.2) translateY(-50%);
    }

/* ===== Khung Chat ===== */
#chat-box {
    position: fixed;
    top: 50%;
    right: 90px;
    transform: translateY(-50%);
    width: 330px;
    height: 430px;
    background: rgba(40, 0, 60, 0.8); /* tím đậm trong suốt */
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(180, 0, 255, 0.6);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 9998;
    backdrop-filter: blur(6px);
}

/* ===== Header ===== */
#chat-header {
    background: linear-gradient(90deg, #a100ff, #ff007f);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #ff00e6;
}

/* ===== Nội dung chat ===== */
#chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
    color: #fff;
    background: transparent;
}

    #chat-body p {
        margin: 5px 0;
        line-height: 1.4;
    }

/* ===== Ô nhập chat ===== */
#chat-input {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(20, 0, 40, 0.8);
}

    #chat-input input {
        flex: 1;
        border: none;
        background: transparent;
        color: #fff;
        padding: 10px;
        font-size: 14px;
        outline: none;
    }

        #chat-input input::placeholder {
            color: #bbb;
        }

    #chat-input button {
        background: linear-gradient(90deg, #8a2be2, #ff00ff);
        color: white;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        transition: background 0.3s;
        border-radius: 0 0 15px 0;
    }

        #chat-input button:hover {
            background: linear-gradient(90deg, #ff00ff, #8a2be2);
        }
